package com.andy.stripes.service;

import java.util.List;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.andy.stripes.domain.Login;
import com.andy.stripes.persistence.LoginMapper;



@Service
public class LoginService {


	@Autowired
	private LoginMapper loginMapper;
  
	 public Login  getLogin(String testid)
	 {
		 
		 return loginMapper.getLogin(testid);
	 }
	
	
	 
	 public List<Login>  searchLoginList()
	 {
		 
		 return loginMapper.seachLoginList();
	
	 }
	 
	 
	 public  void insertLogin(Login login)
	 {
		  loginMapper.insertLogin(login);
		 
	 }
	 
	 
	 public void updateLogin(Login login)
	 {
		 
		 loginMapper.updateLogin(login);
		 
	 }
	 
	 public void deleteLogin(Login login)
	 {
		 
		 loginMapper.deleteLogin(login);
	 }
	 
	 
}
